<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="ctxStatic" value="${pageContext.request.contextPath}/static" />
<%
	String path = request.getContextPath();
	System.out.println(path);
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>停电通知</title>
<link href="${ctxStatic}/jqmobile/1.3.2/jquery.mobile-1.3.2.min.css"
	rel="stylesheet">
<script src="${ctxStatic}/jquery/1.10.2/jquery.min.js"></script>
<script src="${ctxStatic}/jqmobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>

</head>
<body>
	<div data-role="page">

		<div data-role="header">
			<A href="#" data-icon="right">上一步</A>
			<h1>测试组件</h1>
		</div>
		<!-- /header -->

		<div data-role="content">
			<div id="nav">
				<ul>
					<li><a href="<%=basePath%>/"><b>首页</b></a></li>
					<li><a href="<%=basePath%>/loginUI"><b>登录</b></a></li>
					<li><a href="<%=basePath%>/powerout"><b>停电通知首页</b></a></li>
					<li><a href="<%=basePath%>/powerout/search"><b>停电通知查询</b></a></li>
					<li><a href="<%=basePath%>/views/price/guide.html"><b>电价信息</b></a></li>
					<li><a href="<%=basePath%>/thunder/search"><b>雷电查询</b></a></li>
					<li><a href="<%=basePath%>/thunder/recently"><b>近期雷电查询</b></a></li>
					<li><a href="<%=basePath%>/thunder/result"><b>雷电查询结果</b></a></li>
					<li><a href="<%=basePath%>/test"><b>测试</b></a></li>
				</ul>
			</div>
		</div>
		<!-- /content -->

		<div data-role="footer" data-theme="b" data-position="fixed">
			<h4>海南电研院&copy;2013</h4>
		</div>
		<!-- /footer -->

	</div>
	<!-- /page -->

</body>
</html>